package com.yazi.mxz.server.response;

import java.util.List;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yazi.mxz.common.entity.beans.Shopping;
import com.yazi.mxz.server.response.mixin.ShoppingMixIn;





/**
 * 订单表单数据响应对象
 * @author mo_yq5
 * @date 2014-5-14
 */
public class OrderAddFormResponse extends ComResponse implements  DataSuccess<OrderAddFormData>, DataFail<List<Shopping>>{
	@JsonSerialize(contentAs=ShoppingMixIn.class)
	private List<Shopping> failData;
	private OrderAddFormData successData;
	@Override
	public void setFailData(List<Shopping> t) {
		this.failData = t;
	}
	@Override
	public List<Shopping> getFailData() {
		return failData;
	}
	@Override
	public void setSuccessData(OrderAddFormData t) {
		this.successData = t;
	}
	@Override
	public OrderAddFormData getSuccessData() {
		return successData;
	}

}
